Correctly test for containment between Q-intervals.