Fix typo
Fix count query alias
Add validation for domain deleting
Add validation for tenant deleting
Add validate for server deleting