     subject = $('#report_subject_id :selected').text()
     escaped_subject = subject.replace(/([ #;&,.+*~\':"!^$[\]()=>|\/@])/g, '\\$1')
     options = $(units).filter("optgroup[label='#{escaped_subject}']").html()
+    # if options
+    #   $('#report_initial_id').html(options)
+    # else
+    #   $('#report_initial_id').empty()
     if options
-      $('#report_initial_id').html(options)
+      $('#report_initial_id').children().not(':first').detach()
+      $('#report_initial_id').append(options)
     else
       $('#report_initial_id').empty()
 

    subject = $('#report_subject_id :selected').text()
    escaped_subject = subject.replace(/([ #;&,.+*~\':"!^$[\]()=>|\/@])/g, '\\$1')
    options = $(futures).filter("optgroup[label='#{escaped_subject}']").html()
    if options
      $('#report_future_id').html(options)
    else
      $('#report_future_id').empty()

    subject = $('#report_subject_id :selected').text()
    escaped_subject = subject.replace(/([ #;&,.+*~\':"!^$[\]()=>|\/@])/g, '\\$1')
    options = $(units).filter("optgroup[label='#{escaped_subject}']").html()
    # if options
    #   $('#report_ending_id').html(options)
    # else
    #   $('#report_ending_id').empty()
    if options
      $('#report_ending_id').children().not(':first').detach()
      $('#report_ending_id').append(options)
    else
      $('#report_ending_id').empty()

