checkbox - is breaking after using filter to search in angular JS

I have created a selection window , have a look at first scenario in attached plunk
Without searching i am correctly able to do the select and deselect from both lists, but as soon as I use search and try to select the filtered option then it is breaking. can someone please help me here.
I am new to angular and creating small tutorial on different usage of angular.