Fix rank system.

Show rank based on specified category ond not for all categorys.