Fixed bug: redis database has to be initialised before the watchtree is created.