Fix some issues with the chests (levels)

- getStringList() may return empty list instead of null
- maxLevel should not be higher than the list item count, otherwise you’ll get empty chests
- more debug