Fixed mistake in year calculation