Fix regression introduced by commit 334185e