Fixed duplicated variable nodes