added option to open previous versions before committing the rollback