The assert should be there, but it was inducing a too slow execution even in debug mode (as far as I remember).