Added error handling for non-numeric values in region and added check for no records existing for given region id