fix filtering bookmarks on data types

use list intersection instead of comparison.