[SerialICE] Patch merged into serialice/master: 1716296 Fix flag combinations