Update for where clauses

See rust-lang/rust#16424
Use array indexing on the Vec directly

Since Vec implements the std::ops::Index trait, Vec instances can be
indexed directly.