Made Revert command not recursively revert items.

Also fixes Bug 12067 which prevents unexpected loss of data.