Require at least one query layer on search.

Closes #66