added min max fields in search-criteria