Recursively filter parameters