fix unable to detach tag from form caused by 'count' field absence for old tag schema