MAINT: Fix missed usage of deprecated tools.rank
Merge pull request #1545 from jseabold/rank-cleanup

MAINT: Fix missed usage of deprecated tools.rank