[Webform] Fix query for confirmation emails.