Fixed missing assert on rc