fix for filtering by status