Fixed unexpected exception in load_genre_tree