Solving transaction issues caused by two previous commits