Fix an issue with recursive list