update census-check sql to handle zero or null