Fix wrong generated query for GetCommitsFromCheckpoint.
Merge pull request #275 from mynkow/master

Fix wrong generated query for GetCommitsFromCheckpoint.