Fix r617 regression, see #154 (thanks weswinham).
Fix r617 regression, see #154 (thanks weswinham).

samuelcole/wymeditor,samuelcole/wymeditor,samuelcole/wymeditor,samuelcole/wymeditor,samuelcole/wymeditor,samuelcole/wymeditor