fix removing

Fix for https://github.com/ivaynberg/select2/issues/1901