Fixed stupid mistake with row handling from pqxx