Me thinks this view, or at least the logic for finding dupes, deserves a test.