Cannot Index Array With Repeated