Fix several zero vs null issues.

This fixes:
- "last" summary when values are zero;
- genuine zero values disappearing if null_as=null.
Merge pull request #13 from knyar/zero-vs-null

Fix several zero vs null issues