fix #3864: don't call search function on our own

This is already handled by the search configuration. We would only need
to call this ourselfes if we had not registered such a search
configuration.