Fix TOC generation when map starts with reltable #1632