Replaced assertions in __sub__ with TypeErrors