Fixing bug with dropDownList

See Comments in code for full description
Merge pull request #1 from Excommunicated/master

Bug with TreeViewDropDownList