filter options
handled the case in which new filter population is smaller than length limit