Fix invalid iterator checks and computation in aligned iterators