_xapian_get_by_ids.py fix