#119: add nonzero comparison, fix isodatetime bug