Fixed null pointer exception when pulling data from a GI.