Update a filter example that was using the legacy filter format.