Fix bug introduced by ef6293a4d7027ec811110321e945f76e1b3e2778