Megamenu: Fix megamenu configuration corruptted error