fixes SchemeAsMultiScheme bug, when deserialize returns null