Fix #529.

Here, elt() needs an offset for the effective array we are considering. This was not a problem since 'begin' is often 0.