Fixes to JACK port iteration.