Probably worth noting in a comment that `FIRST_FILTER_INDEX` needs to stay in sync with the number of static items (plus separator) at the beginning of the list constructed here.