Fix crash when a <13 learner without a signed-up guardian applies for a badge.