Check that SERVER-92471 and SERVER-92458 work together as expected. E.g. the following:
[{$sort: {shardKey: 1, notShardKey: 1}}, {$group: {_id: "$shardKey", accum: {$first: "$shardKey"}}}]
should result in a DISTINCT_SCAN on shardKey_1_notShardKey_1 with isShardFiltering=true.