Weren't converting port_id properly. Works now