I'm not sure why how "duplicate flags" or "grouped flags" are a problem? Perhaps you could show an example? I think they should just be unconditionally accepted.