and there are many post with such problem. I understood that with Rhino7 (6?) this code was rewritten and is more reliable.
I think there are more options in Rhinoceros. So you cant test on Rhino.
Also when you find a bug it is best to post the file and your system information.