Fix schoolboy error with optional values
Merge pull request #14 from state-machine-systems/optional-values-bugfix

Fix schoolboy error with optional values