Important bugfix for handling multiple ldcs.