Fixing assertions.