Improve rollback database indexing