Some fixes. There are some situations where the NoSQL database would
default numbers to 0 while MySQL defaults them to NULL. So those need to
be fixed.