len cannot be used on filter

Signed-off-by: Mattias Andrée <maandree@operamail.com>