CachedPlanStage::work(...) accidentally has two blocks which check whether the child stage returned ADVANCED. These should be consolidated into one.