Fixes #4589

Signed-off-by: Mloc-Argent <colmohici@gmail.com>