Avoid reentry in DCMTKQueryNode errorMessage function