Moved popular tags query to models.py