SERVER-14138 fix shard key targeting tests backported from v2.7