Fix for the duplicating trial instance factor when replacing the list

Reviewer: Chika Arevalo (post commit)

Issue: GCp-9457