Add much-needed error for duplicate cases.  Closes #126