Updated queryRow to optionally allow null return for no rows found queries.