qmd: handle hex zero connectly in case stmt