fix: #3562753 History module triggers ServiceNotFoundException for comment.manager when Comment module is not enabled
Closes #3562753