ConfusionMatrix deserializing fix