I feel like there might be some collider logic that isn't working properly. I'm jumping a second time when hitting a different collider, even if coming from under. On the 4 level, I'm really not sure how I double jump tho, but it seem to work when doing it right at the crack between the 2 platforms.
But I wouldn't say it's a bug, it's a feature that speed runner can exploit :P