Limit modification of post_type in queries to archive and search pages.

fixes #5