fixes dotCMS/dotCMS#5417