Revert "SERVER-12642 validates input to the distinct command"