Fix so that next event links uses getMinYear() function