Allow FindContainers() to be reused by passing in a filter function.