You likely have either a 22R or 25B? Possibly misreading a label for 25 B and seeing an R? Or I also type a lot of stuff that was not what I meant!!
I'm assuming that you were hooked to pressure water when the tank filled?
We can't be sure of the exact route but one common way this happens is easy to spot on the one I did look at,so let's pretend it is correct?
When we look at this drawing the pressure water is connected at the wet bay to the left, off the drawing but comes to the water pump.
The water pump of any brand will almost always have a check valve (red marks?) built in at the end and when that valve fails to close, the water can pass into and through the pump and out the other end where it goes on into the tank.
Instead of being pumped OUT of the tank, it flows IN?
The fix is often as simple as a small rebuild kit for the pump and it is an easy thing---once we get the pumpout! A few rubber gizmos?
Check for correct brand and models beforeusing these part numbers!