Check for year type

Since the type is enforced by the DB, if the year is not an int, insert will fail, stopping the scanner.