Fixed issue with duplicate regions