Fix for: https://github.com/georchestra/georchestra/issues/266