Encoder: fixes on combos mode and invert