Fixes for unnecessary roots analysis