ALDWYCH-22 - Failures found in batch job

Issue is caused by the fragments ending up as cumulative rather than
created from scratch each time. Fix is to clear down the set so that
fragments do not repeat elements.
Merge remote-tracking branch 'origin/develop' into develop