     [callback, selector] = [selector, callback] unless callback
 
     selector or= {}
-    selector['data.flags.isLowQuality'] = $ne: yes
+    selector['data.flags.isLowQuality'] = { $ne: yes }
     selector['status'] = { $ne: 'deleted' }
 
     @fetchContents selector, options, (err, contents) ->

  # for preventing synonym links we are checking for existing
  # child topics
  checkChildTopics : (callback) ->
    Relationship.one 'targetId': @getId(), 'as': 'synonymOf', (err, childTopic) =>
      return callback err if err
      if childTopic
        return callback new KodingError "##{@title} have child topics! You must first delete them"

        @delete_ => Relationship.remove { sourceId: @getId(), as: 'synonymOf' }, callback

      # check child topics and delete all
      Relationship.all { 'targetId': @getId() }, { 'as': 'synonymOf' }, (err, childTopicRels) =>
        return callback err if err
        unless childTopicRels?.length then @delete_ callback
        else
