Send correct tgt_type

Fixes #16783 

While this resolves the issue, the previous behaviour seemed intentional and it's not clear to me why. Would love if @jacksontj could take a brief look at this.