Fix duplicate code in addTupleToMutation due to merging