Fix https://mantis.culture.fr/mantis/view.php?id=18993