Fixed searching in orders