Code cleanup.

Scope err to the block that generates it
Don't render no values
Use prefix wildcard and boolean operators for tsvector query