Fix bug where NA in 2-level factor and add_total_col=T, show_missing='no', show_all_values=F would throw an error