Return '' for undefined year in yearToAge function