key_commit: Fixed a bug that left orphaned taxrolldetail records hanging when an invoice was deleted