Potential fix for #1369
Re: cca8f5a
Fixes to the fix for #1367
Merge branch 'master' of https://github.com/KoffeinFlummi/AGM.git