Changed query in get-category_with_search_by_order a little