Fixed issue with container type when nested, shouldn't use FTL var as it will get set and not reset by nested containers