[#19146] Custom attributes duplicated fix.