Prevent wrong nodes with null members from being created.