Fixed a bug in repair message box

This fixes  a bug which creates several push buttons on the repair message box when there are several missing series.