fix all() for a sliced query

I'm surprised that `all` doesn't consider the slice.