Fixes a regression introduced by r308218.
If the patch is accepted, it should also be merged into 5.0, I believe.
Thanks, looks good!
committed r310359
In D36453#834949, @n.bozhenov wrote: If the patch is accepted, it should also be merged into 5.0, I believe.
Sounds like a good idea. r310390