fixed bug with mixed filter types at root level for parser