fix bug stopping order_by from receiving more than one set of ordering parameters