added ability to set a max on select2 lists