Relations
Your algorithm backwards
R' F R U R' U' F' U R
solves OLL 40
That's why your scrambles are never the inverse of the algorithm: you'd be practising OLL 40 without knowing it. CubeDojo builds a random state with this case and checks it comes out.