WaE: array index 2 is past the end of the array (which contains 2 elements)

I assume index 1 was intended here.

Change-Id: Ib360b4d37bc342adadc11186810db77ceee91d4e