querylist: handling of null values in the query result