check for empty history array.