fix for ScalarValueCollection deserialization problem