using ->getTagItemsQuery instead in helper.php