Same fix as previous, but for the "view" query.