When conditions are duplicated and edited they are not working