Only the back and right edges are yellow on top. A full yellow bar on the left, and the front-right corner's yellow faces you.
Algorithms
r U' r2 U r2 U r2 U' r
9 moves
YOURS
Relations
Mirror
OLL 50
Your algorithm backwards
r' U r2 U' r2 U' r2 U r'
solves OLL 50
That's why your scrambles are never the inverse of the algorithm: you'd be practising OLL 50 without knowing it. CubeDojo builds a random state with this case and checks it comes out.