fixes dotCMS/dotCMS#5396