This fixes broken views handlers. Without this, the ModuleViewsIntegrityTest::testModuleViewsIntegrity will fail.
Closes #3572629