The whole field should be 32 characters long, not the serial.

Ticket: #5230
(cherry picked from commit c68e64e474c7230de90edbbbe73714b30603fb11)