Allows nodes in schemas to be null

Makes it possible for ternary operators with null results to be used when building a schema. Fixes #28