Fix bug introduced with 1b948aaba5d52c19cca757cb4ae7627d85278a42