Fix argument check in order_by.