We will be adding 'added' and 'removed' parameters to the change callback as part of the overall watcher API changes. Once addec, this path check will be unnecessary and can be removed.