Handle NULLS clauses when mangling ordering