morebits: fix unlink logic when simple links are mixed with piped links

I think this is right.