fix Transaction.select(Query) bug