Fixed a typo in 'Sample.rank' -- invalid index loop