Damn!, there WAS a mistake at the very end of the demonstration. The last line should be:

... =(m^2+2m-3m)z^(-m-2)=m(m-1)z^(m+2)