need rear rack for 01 rancher. what years will fit?

broke the brackets that hold the back of the rear rack attached. One was cracked, but riding this spring took its toll on the cracked one, then stressed out the other one yesterday.

Found a couple of used one on ebay. One is from an 03 and the other is from an 05. Which one will fit. Both sellers said both will. I am pretty sure the 03 will, however the 05 is in better shape.

thanks for input.