Fixed infinite loop in other selection regions