A small fix for bug #8161.