Update select2-editor.js

Fixed some odd behavior with the editor.