Fix #1065 > Use histogram panel with nested fields

Make histogram panel works with nested fields.