Fixed bug in InstancesAggregatorFilter.java