Fixes listports bug that only showed first class