Fix #29: Misleading error message when trying to access results via an index.