Grading on a curve: When having good peers is not good