check for duplicating place_ids in the incoming array of photos