Search for other enabled themes in order to fix issue #3335833.

Closes #3335833

Merge request reports