fix aggregate pattern bug
see https://issues.apache.org/jira/browse/JENA-750