Fix for issue 97

https://github.com/angular-ui/ui-select2/issues/97