Fixes #82 and other comparison related issues by changing '== None' to 'is None' and '!= None' to 'is not None'
Merge pull request #86 from SamSchlegel/master

Fix for #82 and other comparison related issues