Change equal func for sequenceRecord