Fixed merging issues in Chapterdb and tmdb plugins

Fixed merging issues in Chapterdb and tmdb plugins