Is it better to rebuild a 904 or buy a aftermarkt unit??

I just had mine original rebuilt for $975 but it was in bad shape. It looked like a lost cause when I took it in and now it looks new with a shift kit, bands, bolt in sprag;the works. They say it is good for 500 hp. I decided to just get mine rebuilt after reading and experiencing all kinds of trouble with TCI.