Fix levels cache
Merge branch 'fix/deps_level_cache' into support/0.6.x