Adds get_all_record_ids function to KRSequenceDatabase and speeds up the process of checking if found GIs are already in the database