Throw out identical submissions.

Fixes #486