Added check for running on rollback.