Fixed a bug where category/hashtag of deleted task still showing