[ALLI-2696] Fixed an issue that caused empty values to be indexed in publication year.