Fix miscompile. Add back the use of the ArrayRef version of the ::get method.