Fixed issue that caused the user search to fail #956