Fixing 0 == None

This was returning ``True`` when it should be ``False``.