Fix issue with unauthenticated search