fix/improvement: check if there is any tenant data when trying to delete