fix bool examples
Merge pull request #69 from igas/bool-examples

Fix boolean examples