FLUID-5043: Fixed the rule for getting the default for theme.