[misc] Fixed regression introduced in a recent commit