Added condition to removing menu items in admin