OAK-2118 Aggregation cursor introduces doubles in the result set
 - merged rev 1626770



git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/branches/1.0@1626795 13f79535-47bb-0310-9956-ffa450edef68