Fixed a mistake in the assert_parameter function