NSL-1570: Upgrade search error to match rubocop style while working on search problem.
NSL-1570: Upgrade search error to match rubocop style while working on search problem.

bio-org-au/nsl-editor,bio-org-au/nsl-editor,bio-org-au/nsl-editor,bio-org-au/nsl-editor