Remove redundant assertions