Prevent a query from duplicating

Try to use wp_query instead of query_posts