Cleanup prog-history and prog-ss better on rollback.