Modifying equals method on StatisticValuesEntity