fix #3931: respect filter when switching lists