Account for error where filters interfere with get_queried_object()

If a taxonomy is filtering a post_type archive, get_queried_object
returns the term not the post_type. This can be gotten around using
get_query_var() to pull the PT from the original query.