Fixed empty array warning when adding menu item
hide population types on menu item add