Fix bug in T index bounds check

See: http://fiji.sc/bugzilla/show_bug.cgi?id=744