filter: Fix whitepsace sanitation when expression is an array