Make distinct-fields.html understand dotted fieldname.