Simplify the handling of duplicate region ids
Merge pull request #38 from foolip/last-region

Simplify the handling of duplicate region ids