Fixed Bug #101 only write rootlevelype to overlayinstance when is set
Merge branch 'bugfix/101' into develop