the only way i can think of would be 1 search to determine the internal IDs of all the JEs you'll need to update (filtering on a/r account), and then a 2nd search filtered to those internal IDs which isn't filtered by account, so you can get all the lines