Fix according to discussion with bill

See https://bugs.dojotoolkit.org/ticket/17763#comment:8