Fix equals method of Mutation class - include index field.