Add a generative method query.filter_has_parent_term(), for using the has_parent filter