Fixed bugs in year dropdown