change unreference

model and field are optional. If not present, no check is done and
unreference is done abrutly