Fix return value of get_rcards