Rework has_child and has_field to act as where operators, so that they can be applied by smart_facets.