Fix regression introduced by commit 488e73c