Fixed a crash when MPLS is not connected to a LDAP database while
trying to modify something.