Make sure continuous queries are scoped by database.