Improving SelectAttribute handling for RPC calls