Try to get the vector element at a specific index