A set value condition is not working for me