prevent undefined errors when there is no value or only 1 value

prevent undefined errors when there is no value or only 1 value for select multiples.

![split_error](https://cloud.githubusercontent.com/assets/9440455/5380816/8795bf9e-8069-11e4-9c48-eaf6fed8fd62.png)