Fixes regression in #708