Filter expanded flags.