Ensured to store empty subtype as null instead of empty string.
Ensured that owner_guid, container_guid and access_id are kept as integer, not a string.