Fix Bug 891021 - Protect against undefined user objects during searches.