make sure nil values aren't being compared
Merge pull request #19 from oblakeerickson/fix_nil_compare

make sure nil values aren't being compared