Hi. In the current version (iOS 8.2) Apple Mail does not recognizes flagged mail filter if the message is not in the Inbox. It's a missing feature. If you do "inbox zero", the filters are useless. I'm trying not to delete or archive my mail to see if the filters work as expected.
Apple: take note about this.