Fixed assertion mistake