really fixed node lookup

this was a real gotya, can't call fetchall twice to get second result