now filters out species with identical id and entries in the table that
are not of rank 'species'