A small fix for bug #8339.