split logic for the case when there are no change events for project
bug in ProjectHistory; minor refactoring