build plugin: make sure the selected target stays visible when changing the filter
Otherwise, after having filtered and selected/built some target, and if I then remove the filter again, the listview ends up showing the first rows, leaving the user unclear whether the previously selected target is still selected (it is). With this patch it stays visible.