Pruning useless asserts