Dishwasher Drains and Fills at Same Time

I have a Whirlpool Gold Series WDF760SADM0, when you start any cycle it begins to fill it and also starts the drain at the same time. Then the dishwasher acts like its running the cycle. The pump runs except there is no water in the tub. I have checked the float switch and i think it is functioning (when you raise the float it stops filling)

I am not sure where to start to find the problem, any ideas.?

Thanks