Code clean up, attempt fix at multiple post bug on repost detection.