Fixed check that detects if 'kind' is compressed