Fix bug with saving ProjectItems