Change Thank You Page conditional logic is not working