Fix division by zero when viewing empty rank table