Bugfix for documents related to projects