Fix transaction hash lookup for validated db entries