Fix rare recursion condition in patchGlobal
Merge pull request #84 from seegno/bugfix/recursion-patch-global

Fix rare recursion condition in patchGlobal