[BUGFIX] Reinsert ommitted vars for ternary operators