fix(compiler): support filters in attribute expressions

Fixes #571