Make the filtering toggle work.