Fix issues when there is only a single level in the lod file

Closes #17