A counterexample to a conjecture of Ding