Fixed: Fatal error when renaming a project. Closes #919