Fix null attributes parsing

Fixes #14