When filtering by has-attachment, prevent the pre_get_posts filter from recursing

Fixes #313
Readme update