Bugfix for check for existing herd