Made getAll more fault tolerant.