updated genres to only print genre for nonempty filtered list