fix(Filter): do not print the END line for empty groups.