Fix deletion not working for param with subdomain