Fix (and test) QueryRead issue w/ computing total for array w/o header