Fix loadSql when field is 0, previously output as null