TSAGE: R2R - Error out on possible out of range accesses.

This will fix the warnings reported as bug #6621.