Fixed bug with lists in variableslist