Fixed check that detects if 'kind' is compressed

Just a minor fix.

Example condition when the old check will fail:
00110011 - kind
01110000 - DEM_IsCompressed_VALUE
&
00110000 != 0 - True