Fixed a crash that occurs when the ADN API sends an explicit null for a primitive value (which makes KVC rather angry)