Prevent duplicates on DiscoveryModule (bug 1013368)

See https://bugzilla.mozilla.org/show_bug.cgi?id=1013368