Added XOR condition between apply_isoxfm and apply_xfm