Fix affected tuples per operation per database where tuples fetched was used as select instead of tuples returned. Thanks to kenstir for the report.