Moved wp_reset_query to Correct Place