Fixed typo in query, also changed query_posts to new WP_Query.