Fix mongodb reporting module to avoid dupes