Repeat stalemate almost working

...but not quite!