Checking if genre exists before using it