Fix #22: Can't use variables to index a list