[PlacesAPI] Fix array out of bounds.
Merge branch 'updateAPIS' of https://github.com/Comp-380-class/FoodApp into updateAPIS