Make sure getGlobalUsage returns an array
Moved globalUsage array initialization before query
Merge pull request #2357 from Wikia/VID-1111

VID-1111 Make sure getGlobalUsage returns an array