Swapped around statements in the if-else loop that checked if a genre was
in the dictionary created from db.Genres