Fixed type error (comparison between int and string).
Updated version number, added release notes.
Merge branch 'hotfix/2.2.2'