Corrected method name for filtering based on paramaters