Conditionally load stylesheet

Success! Needed to use the 'query' filter instead of 'the_posts'. I
hope that wasn't wrong...