In the current sql it is disabling the parent and child menus, earlier it was only disabling parent menu.