fix for https://github.com/divio/django-cms/issues/3563