Added the filter option for minimum number of lines