Remove invalid assertions