Shimano offered quite a few combinations of 7-speed Hyperglide cassettes back in the day (actually, until somewhat recently.) Sheldon Brown kept a chart on his site:
https://www.sheldonbrown.com/k7-7.shtml#shimano7
I used a 13-28T "M" cassette with that exact 105 RD with no issues whatsoever.