Ivermectin does not kill tapeworms. If it is a tapeworm, don't worry about your dogs-tapeworms are species specific. Dogs can not get chicken tapeworms. I think (not sure) that chicken tapeworms are transmitted through earthworms or slugs as their intermediate host. By the way that looks more like a malformed egg casing or shell that was not completely calcified.