Chris,
The logic behind the dynamic dropdowns is that each child dropdown is exactly that a child dropdown so they in db terms there is a foreign key that relates that child dropdown to it's parent.
So if I am understanding you correctly the 2 subcategories are stored in the same table ? If so are they only related back to the product and not to each other ?