Fixed named filter and query support for the top_children, has_child and has_parent queries and filters.

Closes #4534