The old query framework is only used for shard targeting. With SERVER-13656, we can clean up these dead code.