cid#1244941 Invalid iterator comparison

this is just a false+, but creating a local var will likely fix it

Change-Id: Ia02e04098a70102c70f5fe5ecd156eea6f40d2af
cid#1244954 Uncaught exception

Change-Id: Ica5e88ed8294c4256da2798093cd4a191b7c5313
cid#1244952 Uncaught exception

Change-Id: Ied23e7df1d8ebda9976e63d03c122c058addf274
cid#1244951 Uncaught exception

Change-Id: I3bb5dc5932f4239507920cb9cafa66caab9ff7e0
cid#1244950 Uncaught exception

Change-Id: I1aa4d437838dac42ac1fc803a2ba2a437fa3addb
cid#1244949 Uncaught exception

Change-Id: Ic33d60a435ee875e8e342420046aae436739c123
cid#1244948 Uncaught exception

Change-Id: I421f245fd3be90f0e1d08ad92b0723a64121ae12
cid#1244955 Uncaught exception

Change-Id: Iedf06cc78cda022112699be3db650d11c7249adc