Fixing a bug in preference filters