Fixed 3-replica execution bug that caused crash.