Fixed bug where the wrong pile was getting checked for a "complete sequence" to move to the foundation pile.