Fix zero-repeat assertion condition bug.