FIX: Duplicate members weren't being correctly checked.