Merge pull request #42 from goods/if-sel-fix Fixes #41: Make if statements take the false path on errors