Fix inconsistency introduced during commit b4cbb0ee9