Issue 3670: fix cache error on tag page by ensuring results to be cached are in array format.
Merge pull request #1261 from elzj/issue_3670_tag_error

Issue 3670: fix cache error on tag page