Throw NullError when trying to merge block into null

[Issue #196]