Tweaked the if/else for results. Fixes #1.