Improved tagcloud template / template code optimizations