Fix NULL decoding. Fixes #8.