Fix bug in select2 field