Fix crash introduced in the last refactoring