Not accidentally mapping when an empty interval is contained within a range