Hearts manager John McGlynn felt Motherwell goalkeeper Darren Randolph was a lucky man to have avoided a red card during the 0-0 draw at Fir Park.