Fix top tags making too many lazy db queries to fetch number of images in each tag