Modified several of the SELECT clauses so that indexes were being properly used by the database (put indexed columns first in the WHERE clauses with multiple parts).
Modified several of the SELECT clauses so that indexes were being properly used by the database (put indexed columns first in the WHERE clauses with multiple parts).


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