Fix lastN() on ArrayImpl