Fixed bug in MySQLiTransaction where transaction not committing

Fixed bug in MySQLiTransaction where transaction not committing