Fix deletion of too large headers