Fixing bug when editing projects.