Fix meaningless assertion