Added nested grid's variable IDs to globals