Fix a NULL bug in HeaderTable::erase()
Credit Igor Vuk.