Fix rank increase
Merge pull request #122 from katiewood/master

Fix rank increase