Fixed a bug where variables could not be accessed more than one layer lower in structures.