Fixes bug introduced in 360a69b5.