Small fixes for extent checking
Merge pull request #16 from timlinux/develop

Small fixes for extent checking