Fix unlink for object ids.