Fixed fifty move rule bug