Every drug is going to react badly on a few. I've used heartworm preventative with Ivermectin in it on three dogs with no problems. Mine are Labs.
Ivermectin might be contra-indicated for collie type dogs and mixes and some other breeds with the MDR1 gene mutation. Check with your Vet. Your dog can be tested for this. Note that other drugs might also be a problem.