Fixed problem with null columns, AI causing error on UPDATE/INSERT and smart handling of year.