[search] Don't record last seen url if feature not enabled

Closes #644