Fix edit issues due to reference data types not loading.