Fixed check that detects if 'kind' is compressed
Merge pull request #8 from Psimage/master

Fixed check that detects if 'kind' is compressed