Fixing an es5-sham UDM bug introduced in 156b5424f604e527d838859ca28f1be79af38da6