Implementing equals in order to don't insert duplicated Events