Removed 'deep dearch' query function and calls to it. Fixes #1198