Fix incorrect configuration check in handler for

aloha-smart-content-changed, which prevented any generation of paragraphs
on content change. Fixes RT#58482