The question is what did you treat them with?! You can use either some Spinosad or some Dr. Zymes Eliminator - both can be used up to the day of harvest without ill effect to your buds whereas you can't use something like neem oil (which I don't find very effective anyway! Spinosad will be the most effective... you may have to use it several days in a row and then weekly - but it will kill both thrips and whiteflies, their eggs/larvae ..
Good luck!