LIMS-1745 Retracted analyses in duplicates
LIMS-1745 Retracted analyses in duplicates

In case there are retracted analyses, src_analyses gets three analyses for a given 'analysis_uid' and hence three duplicates. To avoid this the loop on src_analysis run only once. Though might be a temporary fix, it doesn't affect other code much.

veroc/Bika-LIMS,rockfruit/bika.lims,labsanmartin/Bika-LIMS,labsanmartin/Bika-LIMS,veroc/Bika-LIMS,labsanmartin/Bika-LIMS,rockfruit/bika.lims,veroc/Bika-LIMS