Update Menu.php

validation on menu creation was failing. The menu_entries method was returning array with id same as title.