Fix issue 3214208

-Doing an index check to avoid NPE

Change-Id: I53e4f4377f0e725e57ed9d0835b6f69af4f83a64
1 file changed