HG-50 is a cassette. It could be that the spacer just stayed on the freehub body when you replaced it, but if you're planning on replacing wheels anyways, just see if you can find the spacer again.
Double check the markings on the SRAM rear, it's not always the same as what it says on the shifters.