AC-7999. Add a duplicate check that was missed.