reader: cleanup lookupd query index code