Fixed bug with defer term counting which was preventing new menu items being added to brand new menus