Fixed excessive in flight queries

We need to call fetchall even when we have 0 rows