Fixes bug 8023: generates an exception upon no data in RPC result