Nested expansion working as it should