Fix bug with lists > 9 elements