Fixed array reference check