This fixes a regression introduced by a5f6cbce. Thanks Gavin Wahl for the report and Tim Graham for the review.
mentioned in commit f0a4ff2b