Fix existTransaction