Fixed routing behaviour after a project has been deleted