Fixed typo introduced on PR #4308

The typo resulted on malformed contexts on save action events.
Merge pull request #5205 from amazeika/staging

Fixed typo introduced on PR #4308