MDL-39463 forms: use the date selectors 'optional' parameter rather than creating additional logic