[rubbos] (bug-fix) Fixed an error in the 'findRandomLastIndexInHtml' method