Fixed user order schema to make rid required