Typo fix. Complete select year function without rescue.