Variable `$filter` is not defined.