I have a table bound to a node of cardinality 1..n and selection 1..n
the lead selection is 1 by default ie first record of table is selected.
now I apply filter on that table. after filtering, the first record of filetered table is also selected by default. so now if I loop over the table and I check for selected records in a if condition, I get 2 records (the one which was selected by default before filtering and the other which was selected by default after filtering)
I want only the first record after filtering to be selected. and selection be removed from all other records.