Possible fix for blocked randomizations - still not well-tested.