Ghosts are usually safe enough from small fish. If the fish are big enough to get the shrimp body in their mouth, then they get eaten. Harlequins would only eat babies, if they catch one, not adults. The molly might eat one if it is big enough to do so.