GE Profile Dishwasher Won't Drain Completely

My GE Profile dishwasher won’t drain completely. It leaves about an inch of water standing after each cycle. The only time it drains completely is when it is pulled out from the counter. When it is pushed back in the problem reoccurs. I think it may be the drain hose getting kinked, but the only thing is that it worked for a few months before this happened, so I’m not sure how the hose would have gotten kinked to begin with (it stopped draining for no reason, before I had ever pulled it out from the counter). Any advice would be appreciated.