Yellow and red signs next to completed projects

When I complete all actions in a project, they are ticked of as complete. The Project header or Project name continues to show as due or overdue by a red or yellow badge next to it in the sidebar. HOw can this be rectified so there are no markers next to completed projects?