probably best to turn this into a ternary on `iter.filter = ... ? .. : ..` because the `zoom` below is likely required for both situations

use `===` only when absolutely necessary, prefer a simple `==` in this situation. Also, remove the semicolons from the new code (I know there's one in the original code but it shouldn't be there)