Vjournal: fix the query