Fixed issues with verifing if drop down menus are empty or not.