Fix comparison of compressioncodectype