Fixed bug with select2 integration