Corrected bug in Scenario ind2sub.