Added query data to filter data