Fixed bug with updating an integer column from NULL to 0, closes #436.