Fix problem with getAll returning only first item in list