Fixed bug with towers of polynomial rings, or nonstandard gradings