Fixes #8: We now discard zero-length region values.

Automated test case is included.
Merge pull request #9 from markstos/issue-8-empty-regions

Fixes #8: We now discard zero-length region values.