Fixes error filtering in Rollback and Commit