Ensure when no search fields are set that no array errors occur.

Closes gh-112