Fixing bugs in infectionIs and cloneAll comands