Finally got a chance to circle back around and start tracing down why this is so horribly broken. Haven't actually accomplished anything but adding some debug tracing, but it's at least a decent baby step.