Fixes setting parentId on space|project create (refs #425)