Fix bug testing overlap on open-ended intervals

+ Only works for (val nil), not (nil val) for now