searchable flag logic reversed