improve update_tag_cache query

this was making the initial load of the pages feed slow - even for new users.
Merge pull request #110 from azul/bugfix/4376-slow-me-pages

improve update_tag_cache query