fixing filter query in trends panal