One of the things that's pretty universal with Cottage Food laws is the No Meat rule, so the tamales were probably in violation right out of the gate.
If you become so successful that you attract the attention of the authorities, you are probably at the point where you should just become a legit food manufacturer or restaurant.
In my state, there is a $250k limit on earnings for Cottage Food businesses. Then you gotta go legit.