Avoid exception when an interface has no flags