Fix bug #3991

Signed-off-by: Marc Delisle <marc@infomarc.info>
ChangeLog entry

Signed-off-by: Marc Delisle <marc@infomarc.info>