moved some code to fix a minor bug involving check of publication year field
moved some code to fix a minor bug involving check of publication year field

paleobiodb/pbdb-new,paleobiodb/pbdb-new,paleobiodb/pbdb-new,paleobiodb/pbdb-new,paleobiodb/pbdb-new