Fix bug when getting wumpus next action.