Set the historycounter to start from 1

Since the revisionHistory is passed in descending order, we want the last
successful revision to be set as the "oldRev" property in ValidationContext.
Fix this by starting the counter index from 1 instead of 0