Fixed bug in watchtree that prevented watches to be removed when a directory with subdirectories was deleted.