z/Architecture instruction database issues

Was trying to add a description based on Mnemonic from another file. And found many dups same Mnemonic same op code but other differences. For one example the Mnemonic AGF. One place it’s defined as as a RXY format

AGF E318 RXY R1,D2(X2,B2)

Another place it’s defined with 2 different formats…

Mnemonic Operands            Extends  Optables     Fmt  Opcd Flags Instruction
-------- --------            -------  --------     ---  ---- ----- -----------
AGF      R,D12(X,B)                   ZOP          RXE E318  c     ADD (64<-32)
AGF      R,D20(X,B)                   UNI,YOP-     RXY E318  c     ADD (64<-32)