Projects: Error after clicking a project name

Fixed #704