Fixed exceptions on getting key by task uuid