Hammer of the Scots

I can’t seem to get the discard deck to reshuffle.
I right click on the deck, see “send to main deck,” click it, and then it puts the cards upside down on top of the draw pile.
Am I doing something wrong?

I was wrong. Everything is fine. Operator error.