minor change to not fail an assertion when using end()