[BUGFIX] do not delete unliked, but referenced records