Solved NPE in binaryNominal