Fix a goof up with optional parameters. [1660]

The “toIsl” methods were generating invalid ISL.