Fixed PHP notice about wp_reset_query()