Fixed AssertionError.