Fixed bug dealing with menu id's being null