Fix filter options generate