A small fix for bug #8143.