Fix for multiple menu items from overrides

Thanks sualfred