Fallback to global query in QueryTemplate
Fallback to global query in QueryTemplate

When applying filters, QueryTemplate needs to fallback to main query if
no query object is given to pair with Hierarchy behavior.

See #12

Brain-WP/Hierarchy