Updated validation check to look for "Yes" instead of just true