       publication: Match.Any
 
     observeHandles = []
+    return params.publication.ready() unless params.text
     params.publication.onStop -> # cleanup
       handle.stop() for handle in observeHandles
 

  @_getSearchCollectionName: (name) -> "_searchCollection_#{name}"

  @_subscribe: (template, data) ->
    template.subscribe 'teamSearch',
      name: data.name
      text: data.searchValue

    Meteor.publish 'teamSearch', (params) ->
      check params,
        name: String
        text: String
        data: Match.Optional Object

      for name, def of self._definitions when name is params.name
        return self._publishSearch.call self,
