Many would consider that unelected. I'm sure you draw the line somewhere too: I doubt you consider every government employee elected just because you can draw a chain of responsibility back to some elected official.
Hell, by your logic, the U.S. Senate before the 20th Century wasn't elected because they were elected by state legislatures instead of popular elections.