Fix make_order_by_deterministic alias handling