Improve performance of get() for negative indices. Fixes #5476.