Christopher Long's early goal is cancelled out as Motherwell secure a top six place with a 1-1 draw at Hearts.