Fix a regression caused by 2772a506fe764ea59e9f91e817f3287f7d9955af.