MDL-45236 AJAX: Correct reproduction link casting