versioning revisions number should be calculated properly because revision documents might be replicated
Merge pull request #1485 from ppekrol/versioning-replication

versioning revisions number should be calculated properly because revisi...