       ' or content.name = "JDiscussion"'
       ' or content.name = "JBlogPost"'
       ' or content.name = "JStatusUpdate")'
+      ' and has(content.group)'
+      ' and content.group = "' + @groupName + '"'
       ' and has(content.`meta.createdAtEpoch`)'
       ' and content.`meta.createdAtEpoch` < {startDate}'
       'return *'

      'MATCH koding-[:member]->followees<-[r:follower]-follower'
      'where followees.name="JAccount"'
      'and follower.name="JTag"'
      'and r.createdAtEpoch < {startDate}'
      'return r,followees, follower'
      'order by r.createdAtEpoch DESC'

  fetchAll:(startDate, callback)->
    start = new Date().getTime()
    query = [
      'START koding=node:koding(id={groupId})'
      'MATCH koding-[:member]->members<-[:author]-content'
      'WHERE (content.name = "JTutorial"'
