Moved recursive filtering inside the #filter_params method