Get the query parameters from the request for get_items.
No need to unset the post_type query var anymore.
Only pass post_type to get_items query if it is set in the request.  Includes test.