Fix inability to create more than one KDM at once.