Update Menu.php

Update to avoid component errors if no menu items are in menu