Handle array indexing terminating paths