CommitItems Restrictions event causes Vault error 1405

Issue

When having a CommitItems_Restrictions event registered in powerEvents and editing an item in Vault the Vault error message 1405 "Item version identified incorrectly. Please refresh and try again." is shown when saving the item instead of the configured restriction in Add-VaultRestriction.

Cause

This is caused by an issue in Vault.

Solution

When closing the Edit Item dialog and opening it again it works correctly.