Don't execute children filter in has_parent filter when no parents have been found.
Don't execute child filter when no parents have been found in parent query.