KH-203: Better koodiMetadata comparison

Does not die to NPE.