fixed off-by-one error in replication history stream creation
Merge pull request #11 from pfraze/replication-fixes

fixed off-by-one error in replication history stream creation