Fix pointer confusion for nested attribute parsing