Added support for genSQL on Rollback.