Two things. 1) I recommend using filter expression...
# suitescript
j
Two things. 1) I recommend using filter expressions instead of filter objects. 2) It's a lot cleaner to get the list of time internal ids into an array, then transform them into search filters from the list, rather than trying to combine getting and transforming in one loop.