[12530] Fix duplicate entry issue added in [12522]

Signed-off-by: Xfurry <xfurry@scriptdev2.com>