It should transform null into 0

Unsure how this was working as it was missing a parameter