Fix exit region handling.