Fix issue with select2 initialization