Fix bad injection regression introduced in previous commit