Fix assertions.