Added logic to remove region if it is empty.
Merge branch 'feature/106'