Door Latch

I ordered a new door latch (part# AP4390033) from Appliance parts pros and the part has been discintinued. The part I received (Part#W10247175) is, according to Whirlpool the replacement part. the latch itself is correct,but, the electrical parts have bee changed. The quick connects for the wires on the old part are straight, on the new part, the prongs are angled back and will not allow the latch to seat properly because the wires now hit the door. How does this install? Is this the correct part?