persistent filter logic