Fix a bug introduced in 2e50092b2437913561a37c646e