Fix for opensearch traceback (bug 852278)