Allow for detached branches when checking lod consistency. Fixed formatting nit. Added debug helper method.