Fix wrong function call, entity_load() instead of entity()
Fix wrong key in db_merge() calling.