Fix to project edit (now fully working.)