Fix function call for getFirstYear