Fixed: assert not taking all cases into regard.