Fixed bug in global data reading routine introduced in recent commits where reading global data didn't work at all.