standard filter - added min and max lengths