Fix indexing into array of texts from server