Fix occasionally occurring error on project creation in project api spec