Correcting boolean field update logic, fixes #841
Better logic for boolean updates, ref #841
Fixing syntax error
Correcting changelog
Adding more tests for boolean fields, ref #841
Updating changelog
v0.2.40
Merge branch '0.2.x'