Change Thank you message after submission condition doesn't seem to work correctly