Parse filters correctly