Fixed the issue with the lists not being added correctly.