Fix problems updating project status after trying to publish it