I turned on macro debugging and the macro doesn't even run. I also tried adding a simpler macro and it doesn't run it just shows up as code.
Do macros not work in widgets?
This is what it shows in the where condition when the page tries to load
{%CurrentDocument.DocumentName|(identity)GlobalAdministrator%}' + '|%')