I think your rightI think it was the the upper jockey wheel, I have this all the time (also SRAM), when I reinstalling the chain after cleaning, it didn't seat with the chain as it should, and somehow rode on the "top" of the chain links.
The World's largest electric mountain bike community.