Fix: Unmatched token incorrectly ignored in right-justification mode