Reworked course drop down to handle nested categories