test for undefined offset when matching an order clause