fix top_tags query to join Post and Tag tables