Refactor some search stuff

It is, it is boolean.