Bugfix to getAllProjects