Fixes page actions not updating when statement updates