[PLAT-6258] Adding a check for the case where there is only one credit spread node and setting the spread to that single value