Fix #1682 "PDF attached to email has missing checkboxes"