Master document chapter numbering

Hi. I am starting to write my thesis and wanted to use a Master Document to assemble separate chapters into the full document. However when I try to do it the chapter numbering is not working properly - if I insert two files into a master document, both of them start with Chapter 1. If I remove the numbering from the two subdocuments, there is no numbering in the master document. What is the right way to make chapter numbering and master document features to play together?

I am using LiberOffice 6.2.2.2 on Ubuntu 16.04

Not really an answer, since I don’t know what was wrong before, but after trying many times more or less the same thing, it’s working now…