Fix continuous queries.