UI: Fix truncate filter to account for tbd-undefined vars