Fixes filtering on array values from the micro-analysis pop-out

When the documents in the table panel are analyzed for the micro-analysis pop-out, they were's being grouped by underscore and cast to string values, preventing the panel from knowing if the original value was an array. We must know this when creating the filter for the value.

This change does the grouping manually based on the value's string representation, but keeps the original value for later use.