More lenient type parsing in histo/cardinality aggs
closes #6948
closes #6893