If IMDB id is missing try to get the moviedb id.