Fix #984: Fix ViewResults condition in analyses views