fix all() for a sliced query