Revert changes after applying entity patches.