Means Dialog: Fix issue where the wrong syntax was generated.