Fix transaction lookup