Fixed: union all serialization check type function