Fix ldap upgrade

Fixes issue where ldap1 is not successfully upgraded because ldap1 was not replaced in the db upgrade script.