Fix initialization for select2 in AJAX mode