Check if DOING_AJAX when filtering the product list by category in the admin.