Converted units go neutral if monk dies just before

Here is a video of it happening. Not sure if this is intended behaviour. The monk died a fraction of a second before the units converted so maybe it makes sense they went neutral? Not sure. I was the blue player here.