fixed news query where and order clauses