Always use PERSISTENT_STATE mask when persisting task controller state.
When PERSISTENT_STATE mask was not used it was causing Revertibles
to be called twice (because DO_ROLLBACK) flag have been persisted too.