Fixed NIL bug in isValid() method, reported by @ocubom in PR #11
Updating CHANGELOG for version 2.1.1