Fixes regression in #737