new heating element, but still not heating

I replaced the heating element for my GE dishwasher m/n GDT580SSF6SS, but the new element is also not working. I have read that replacing the flood switch is the next step. Does that make sense? I gave it a thorough cleaning, but that did not resolve it. I appreciate your suggestions.