Fix stair prediction.