Issue #24. Select2 does a wrong array merge

Fix for issue #24.