Revert "Ranks fix"

This reverts commit 0b31f5123098468405df70f9d92d62c602e30f40.