Make sure ranges don't overlap.