Fix folder recursion.