Bugfix: problem with types with value 0.