Fixes regression introduced by 8e8797457d9a426329c8a63ec7248ade37663617