[NRefactory] Fixed array size bounds check.