Fix pagination with ?version=diffs