Fix where instance filter failed if matched with more than one item by regex