Added a check for request scope in getGlobals
Merge remote-tracking branch 'fixe/patch-1'