Fix bad q.all usage