#1032634 by dww: Fixed critical bug introduced via #913998 where new projects were totally broken and had no record in {project_projects}.