Fixed condition bug from last merge regarding the same case and None vs. 0
Merge pull request #11 from mtahmed/fixconditionbug

Fixed condition bug from last merge regarding the same case and None vs 0.