Manage bad tocs removing empty items