fix truncate for filters. fix filter key name for multi-string values.