Hearts boss John McGlynn felt his side were harshly dealt with by officials in their 3-1 defeat at Dundee United.