[ticket/13177] Fix display of post count-based ranks in viewtopic.

[PHPBB3-13177](https://tracker.phpbb.com/browse/PHPBB3-13177)