Fix openLevel bug in flatten function
Merge branch 'hotfix/openlevel' into develop

Conflicts:
	dist/treebeard.min.js