Fixed the shard data deletion issue

The queues are now removed from the catalogue when the
shard is deleted