My conditions setting is not working properly