> then this should all work correctly

@twalpole what should work correctly?

`within_window` should invoke `scopes << nil` after invoking `switch_to_window`, not before as it's done in other methods.