Fixed an issue with select2 plugin