                     Meteor.bindEnvironment (err, doc) ->
                         if err
                             console.error "Error while resetting #{watcherModelName}.#{watcherReactiveName}
-                                        watchers of #{modelName}.#{JSON.stringify instanceId}:"
+                                watchers of #{modelName}.#{JSON.stringify instanceId}:"
                             console.error err
                             lockRelease()
                             return

                        # the old or new document
                        $or: [
                            selector: $in: [null, instanceId]
                        ,
                            $and: subfieldSelectorMatcher
                        ]
                    ,
                        $or: [
                            # The watcher's set of docIds might have changed
                            # because its selector mentions a changed subfield
                            $or: changedSubfieldSelectorMatcher
                        ,
                            # The watcher's set of docIds might have changed
                            # because its sort key mentions a changed subfield
                            $or: changedSubfieldSortSpecMatcher
                        ,
                            # The watcher's set of field values might have changed
                            # because its projection mentions a changed subfield
                            'fields._': false
                            $or: changedSubfieldAlacarteProjectionMatcher
                        ,
                            'fields._': $in: [null, true]
                            $or: changedSubfieldOverrideProjectionMatcher
                        ]
                    ]

                watcherMatcher


            resetCountByModelReactive = {} # "#{watcherModelName}.#{reactiveName}": resetCount
            resetOneWatcherDoc = (watcherModelName, watcherReactiveName) ->
                watcherModelClass = J.models[watcherModelName]
                console.log "resetOneWatcherDoc: <#{watcherModelName}>.#{watcherReactiveName} watching <#{modelName}
                    #{JSON.stringify instanceId}>"

                selector = {}
