fixed exception when loading ref array that has been deleted from the schema
version ++