Fixed a bug related to 0s.

Dont ask.