#5277

I added some very small changes to the unit test but the real fix was made by Jorge in #5257