fix rubric secnotoc logic