fixing regression introduced by correction of bug #4352