Maytag intellisense Washer MWA 09149 WH Not Draining F02 code

Recently encountered my Maytag Intellisense Washer MWA 09149 WH came up with Code F02 which means not draining.

I’ve checked the filter and it was clean, I also checked the drain hose it was clean, I also checked the piping going trough the wall and it was clean., yet the Maytag washing machine still displayed the F02 not draining code.

I took the back panel off and checked the pump and it was working. Took the rubber harmonica pipe off between the pump and drum and it was clean yet the F02 washer not draining code still came on.

Put everything back together and I started the washing machine again with the back panel off. The first thing appeared that the heating element was dripping, as it turned out they’ve never actually tightened it up at the factory. It’s a push in kind where the rubber seal just sits in the socket where it’s pushed in and a nut in the center needs to be tightened so that it squeezes the rubber make it wider thus fitting snugly in the hole.

Maytag intellisense not draining
Heating element upper right corner and micro switch center at bottom of washing machine

Tightened it and the dripping stopped. This was the cause of the F02 code no draining issue, because at the bottom of the washing machine there is a dimple where a styrofoam disk sits and right above that there is a micro switch. As the heating element was loose and dripping water, this dimple got filled and raised the styrofoam disk which pushed in the little micro switch which stopped the washing machine form working.
Idiot engineers at Maytag Whirpool instead of giving a separate code for the float micro switch, included it under the no drain code.