I've just tested it myself, it filters fine.
As far as I can tell from what you've written, you've done this correctly so I'm not sure why it wouldn't be working for you.
I did notice that I had to refresh the post to make the filter kick in. Are you seeing this unfiltered even after refreshing your view of the timeline?