Filter empty rows in RPC