GE(Americana) dishwasher does not drain completely

Dishwasher has couple inches of water in bottom at end of wash. Drain hose and drain are clear. I disconnected spring from flapper valve solenoid and ran washer. Now there is less water in bottom at end of wash cycle but without flapper hooked up the water drains from the air gap back to the washer at the end of the cycle and it does not completely drain.