Sidebar headerCommands not revalidating custom when variables

I have a sidebar header command with a when condition, and a corresponding extension menu command with the same when condition. When I update nova.workspace.context to update the condition, the menu correctly activates/deactivates, but the sidebar header command does not.