fixed bug where ranges were not being flagged as overlapping.