Automatic TOC loses hierarchy in ebooks

Hello everyone!
When I compile the manuscript for Kindle-epub eBook, and I select “Generate HTML Table of Contents”, as a result the auto TOC loses the hierarchy I gave my book in the Binder. It’s flat, not nested. Is that normal? :open_mouth: