Fixed test failure caused by different NULL ordering between backends