Fixed issue with tagcloud.

The tagcloud tag size could be out of bounds for some scenarios, got
that one fixed. The code logic has a flaw and the check could not
complete because a key was being compared with integer.