Fixed a problem for bug #7892