Support searching for elements using a block predicate