Added additional check in bundles
LayoutTheme