Resolve issue with getting negative indices

Negative indices produced <internal value> instead of an error, and the
safer versions of get weren’t safe for negative values.