Revert "duplicate if final or initial snlgroup_id matches"

This reverts commit 0d52975c258a0cecc55678d51bac4c306d82c45b.