Fixed port scan return bug