Added support for multiple objects returned from predicate