Bug fix: changing the order of test in MineField constructor