Fixed backtracking.