code: function cleanupFilter(filter) {
    let filterToUse = filter;
    if (
      filterToUse.selectedFilter === "inList" &&
      typeof filterToUse.filterValue === "number"
    ) {
      filterToUse = {
        ...filterToUse,
        filterValue: filterToUse.filterValue.toString()
      };
    }
    if (filterToUse.selectedFilter === "inList") {
      filterToUse = {
        ...filterToUse,
        filterValue: filterToUse.filterValue.replace(/, |,/g, ".")
      };
    }
    return filterToUse;
  }
docs: if an inList value only has two items like 2.3 then it will get parsed to a number and break, convert it back to a string here