Rename variable for correctness

In the docs, filters iterate over “collections”, and it actually does
now, so it makes more sense to refer to it as such.
A couple test fixes