[#1431]Removed unnecessary assertions