Merge "Added limit to countRevisionsBetween() for sanity"