Fix for wrong serial being sent in registration message