Fix projects edit and new.