Fixed tripair db transaction, missing parenthesis