I tried it now for an hour. I compared the XML-version of some used macros, but didn't find something obvisiously.
The trick will be something like
IF GLOB_CONTEXT=44 then...
This is the case the script is executed for a s/e AND for doing the SEOs. But I haven't found it in the scripts. So GS has forgotten this case, when they extended the d/w from 12 to 13. I have reported it.