Fixed a slight bug with 0s.