Fix a crash with depth 1 perft