fix select2 input control
[fix]  undefined method for nil:NilClass  in datagroup.rb#update_and_merge_categories_with_csv. close   #396