The code returns all data sets within subentries where any dataset (pointer) meets the search criteria. For the (n,2n) example you put up this problem doesn’t come up, but when I searched for total I was getting a lot of capture and elastic data because some old entries have multiple measured reactions in the same subentry.
Please modify the package to only return the data sets (pointers) that match the search criteria. It is a very small amount of work in the end since the pointers are already in the database.
The code returns all data sets within subentries where any dataset (pointer) meets the search criteria. For the (n,2n) example you put up this problem doesn’t come up, but when I searched for total I was getting a lot of capture and elastic data because some old entries have multiple measured reactions in the same subentry.
Please modify the package to only return the data sets (pointers) that match the search criteria. It is a very small amount of work in the end since the pointers are already in the database.