Generate filter urls recursively.