Assertion check if the common prefixes are stored in a node header

If there are any consolidated trie nodes, we store their common
prefixes in the meta data of a trie node that corresponds to the
first different prefix.

Therefore, we should make sure that the common prefixes are not
NULL in the above case.