Result from prefix search returned as list instead of sending it through a port