Fixed variable condition check.
Merge pull request #104 from jaredbischof/master

Fixed variable condition check.