Initial search listings functionality

Never use `unless` with `else`. Rewrite these with the positive case first.