Fixing issue where we could return early without closing the array read.