This looks like a regression to me - coordinate names are not necessarily a unique identifier of coordinates on a cube. I haven't actually checked whether this routine could handle that case, but it certainly can't now.