Edit project breaks entirely for project with undefined user