Filtered items are selected after searching. Initial code for pagination support